LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly)

RegisterSingle<I>(Type) Method

Show in webframe





Type that will be request.
Type that will actually be requested.
Registers a single instance of a type mapping with the container.
Syntax
public static void RegisterSingle<I>( 
   Type to
)
'Declaration
 
Public Overloads Shared Sub RegisterSingle(Of I)( _
   ByVal to As Type _
) 
'Usage
 
Dim to As Type
 
ServiceLocator.RegisterSingle(Of I)(to)

            

            
public:
static void RegisterSinglegeneric<typename I>
( 
   Type^ to
) 

Parameters

to
Type that will actually be requested.

Type Parameters

I
Type that will be request.
Remarks
When types are registered using this function only one instance is returned. Each Retrieve request will return the same object.
Requirements

Target Platforms

See Also

Reference

ServiceLocator Class
ServiceLocator Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features